package com.binyuan.move.service.impl;


import com.binyuan.move.domain.ScreenRecorderMove;
import com.binyuan.move.mapper.ScreenRecorderMoveMapper;
import com.binyuan.move.service.IScreenRecorderMoveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.awt.*;
import java.util.List;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-06-29
 */
@Service
public class ScreenRecorderMoveServiceImpl implements IScreenRecorderMoveService
{
    @Autowired
    private ScreenRecorderMoveMapper screenRecorderMoveMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param moveId 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public ScreenRecorderMove selectScreenRecorderMoveByMoveId(Long moveId)
    {
        return screenRecorderMoveMapper.selectScreenRecorderMoveByMoveId(moveId);
    }

    /**
     * 查询【请填写功能名称】列表
     *
     * @param screenRecorderMove 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<ScreenRecorderMove> selectScreenRecorderMoveList(ScreenRecorderMove screenRecorderMove)
    {
        return screenRecorderMoveMapper.selectScreenRecorderMoveList(screenRecorderMove);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param screenRecorderMove 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertScreenRecorderMove(ScreenRecorderMove screenRecorderMove)
    {
        return screenRecorderMoveMapper.insertScreenRecorderMove(screenRecorderMove);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param screenRecorderMove 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateScreenRecorderMove(ScreenRecorderMove screenRecorderMove)
    {
        return screenRecorderMoveMapper.updateScreenRecorderMove(screenRecorderMove);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param moveIds 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteScreenRecorderMoveByMoveIds(Long[] moveIds)
    {
        return screenRecorderMoveMapper.deleteScreenRecorderMoveByMoveIds(moveIds);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param moveId 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteScreenRecorderMoveByMoveId(Long moveId)
    {
        return screenRecorderMoveMapper.deleteScreenRecorderMoveByMoveId(moveId);
    }

    @Override
    public int deleteScreenRecorderMoveByMoveCreaTime(String time){
        return screenRecorderMoveMapper.deleteScreenRecorderMoveByMoveCreaTime(time);

    }
}
